package org.microservice.system.dao;

import com.baomidou.mybatisplus.mapper.BaseMapper;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import org.microservice.common.bean.DepartmentVo;

import java.util.List;
import java.util.Map;

/**
 * Created with IntelliJ IDEA.
 * User: 齐丹枫
 * Date: 2018/7/11
 * Time: 16:05
 * To change this template use File | Settings | File Templates.
 * Description:
 */
@Mapper
public interface DepartmentDao extends BaseMapper<DepartmentVo>{
    List<DepartmentVo> getDepartmentListPage(Map<String, Object> params);

    void disabledOrEnabledById(@Param("id") int id,@Param("disabled") boolean disabled);
}
